/* = 基本列表
––––––––––––––––––––––––––––––––––*/
.content-block-title {
	position: relative;
	margin: 35px 15px 10px;
	line-height: 1;
	font-size: 14px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #6d6d72;
	overflow: hidden;
}
.content-block-title + .list-block {
	margin-top: 10px;
}
.list-block {
	margin: 35px 0;
	font-size: 16px;
	&.list-block-bordered {
		ul {
			&:before {
				content: '';
				position: absolute;
				left: 0;
				top: 0;
				bottom: auto;
				right: auto;
				height: 1px;
				width: 100%;
				background-color: #c8c7cc;
				display: block;
				z-index: 15;
				-webkit-transform-origin: 50% 0%;
				transform-origin: 50% 0%;
			}
			&:after {
				content: '';
				position: absolute;
				left: 0;
				bottom: 0;
				right: auto;
				top: auto;
				height: 1px;
				width: 100%;
				background-color: #c8c7cc;
				display: block;
				z-index: 15;
				-webkit-transform-origin: 50% 100%;
				transform-origin: 50% 100%;
			}
		}
	}
	&.list-style-alternative {
		.item-content {
			&:after {
				content: '';
				position: absolute;
				left: 0;
				bottom: 0;
				right: auto;
				top: auto;
				height: 1px;
				width: 100%;
				background-color: #e5e5e5;
				display: block;
				z-index: 15;
				-webkit-transform-origin: 50% 100%;
				transform-origin: 50% 100%;
			}
		}
		.item-inner {
			&:after {
				display: none;
			}
		}
	}
	&.state-no-margin {
		margin: 0;
	}
	ul {
		position: relative;
		background-color: #fff;
		margin: 0;
		padding: 0;
		list-style: none;
		
		li {
			position: relative;
			padding-left: 10px;
			&.is-touching {
				background-color: #e5e5e5;
				box-shadow: 0 -1px 0 0 #e5e5e5;
			}
			&:last-child {
				.item-content:after {
					display: none;
				}
				.item-inner:after {
					display: none;
				}
			}
		}
	}
	.item-content {
		position: relative;
		min-height: 44px;
		display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
		display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
		display: -ms-flexbox;      /* TWEENER - IE 10 */
		display: -webkit-flex;     /* NEW - Chrome */
		display: flex;			   /* NEW, Spec - Opera 12.1, Firefox 20+ */
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	.item-link {
		.item-inner {
			padding-right: 35px;
			background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%2060%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'm60%2061.5-38.25%2038.25-9.75-9.75%2029.25-28.5-29.25-28.5%209.75-9.75z'%20fill%3D'%23c7c7cc'%2F%3E%3C%2Fsvg%3E");
			background-size: 10px 20px;
			background-repeat: no-repeat;
			background-position: 95% center;
			background-position: -webkit-calc(100% - 15px) center;
			background-position: calc(100% - 15px) center;
		}
	}
	.item-media {
		position: relative;
		display: -webkit-box;
	    display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
		-webkit-flex-shrink: 0;
		-ms-flex: 0 0 auto;
		flex-shrink: 0;
		-webkit-box-lines: single;
		-moz-box-lines: single;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: none;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		box-sizing: border-box;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		padding-top: 9px;
		padding-bottom: 9px;
		.badge {
			position: absolute;
			display: block;
			right: -4px;
			top: 5px;
			width: 10px;
			height: 10px;
			border-radius: 5px;
		}
	}
	.item-media + .item-inner {
		margin-left: 15px;
	}
	.item-inner {
		padding-right: 10px;
		position: relative;
		width: 100%;
		padding-top: 9px;
		padding-bottom: 9px;
		min-height: 44px;
		box-sizing: border-box;
		display: -webkit-box;
	    display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
		-webkit-box-flex: 1;
	    -ms-flex: 1;
	    -webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	    -webkit-justify-content: space-between;
	    justify-content: space-between;
	    -webkit-box-align: center;
	    -ms-flex-align: center;
	    -webkit-align-items: center;
	    align-items: center;
	    -ms-flex-item-align: stretch;
	    -webkit-align-self: stretch;
	    align-self: stretch;
	    overflow: hidden;
		&:after {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			right: auto;
			top: auto;
			height: 1px; //iPhone视网膜分辨率下需要折半
			width: 100%;
			background-color: #e5e5e5; //#C8C7CC; for settings
			display: block;
			z-index: 15;
			-webkit-transform-origin: 50% 100%;
			transform-origin: 50% 100%;
		}
	}
	.item-title {
		-webkit-flex-shrink: 1;
		-ms-flex: 0 1 auto;
		flex-shrink: 1;
		color: #333;
		font-size: 17px;
		white-space: nowrap;
		position: relative;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}
	.item-head {
		position: relative;
		display: block;
		@include clearfix;
		time {
			float: right;
			font-size: 11px;
			color: #999;
		}
		.item-head-title {
			color: #333;
			font-size: 17px;
			float: left;
		}
	}
	
	.item-excerpt {
		font-size: 13px;
		color: #999;
		line-height: 1.3;
		max-height: 32px; //最多显示两行文字
		overflow: hidden;
	}
	input {
		-webkit-flex-shrink: 1;
	    -ms-flex: 0 1 auto;
	    flex-shrink: 1;
	    white-space: nowrap;
	    position: relative;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    -webkit-flex-basis: 100%;
	    flex-basis: 100%;
	    width: auto !important;
	    border: 0;
	    max-height: 28px;
	    padding: 0;
	    outline: none;
    	box-shadow: none;
    	border: 0;
	    &:focus, &:active {
	    	outline: none;
	    	box-shadow: none;
	    	border: 0;
	    }
	}
	.item-after {
		white-space: nowrap;
		color: #8e8e93;
		-webkit-flex-shrink: 0;
		-ms-flex: 0 0 auto;
		flex-shrink: 0;
		margin-left: 5px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		max-height: 28px;
	}
}

.info-list {
	.item-content {
		min-height: 0 !important;
	}
	.item-inner {
		padding-top: 6px;
		padding-bottom: 6px;
		font-size: 13px;
		min-height: 0 !important;
		line-height: 1.4;
		span {
			display: inline-block;
			color: #777;
			width: 65px;
			text-align: right;
			margin-right: 10px;
			white-space: normal;
		}
	}
}